package com.example.demo.test3.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author thz
 * @since 2021-03-19
 */
@TableName("test3")
public class Test3 implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @TableField("item1")
    private String item1;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getItem() {
        return item1;
    }

    public void setItem(String item) {
        this.item1 = item;
    }

    @Override
    public String toString() {
        return "Test3{" +
                "id='" + id + '\'' +
                ", item1='" + item1 + '\'' +
                '}';
    }
}
